package com.zzj.bill.domain;

import com.zzj.common.annotation.Excel;
import com.zzj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户关联店铺中间表
 *
 * @author zzj
 * @date 2022-01-26
 */
public class BillUserShop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer userId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Integer shopId;

    public BillUserShop() {
    }

    public BillUserShop(Integer userId, Integer shopId) {
        this.userId = userId;
        this.shopId = shopId;
    }

    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }
    public void setShopId(Integer shopId)
    {
        this.shopId = shopId;
    }

    public Integer getShopId()
    {
        return shopId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("shopId", getShopId())
            .toString();
    }
}
